package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.DailyTrainCarriage;
import com.jiawa.train.business.req.DailyTrainCarriageQueryReq;
import com.jiawa.train.business.resp.DailyTrainCarriageQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.Date;
import java.util.List;

public interface DailyTrainCarriageService extends IService<DailyTrainCarriage> {
    // 可添加自定义方法声明
    void save(com.jiawa.train.business.req.DailyTrainCarriageSaveReq req);

    PageResp<DailyTrainCarriageQueryResp> queryList(DailyTrainCarriageQueryReq req);

    void delete(Long id);

    List<DailyTrainCarriage> selectByDailyTrainCode(String dailyTrainCode);

    void genDaily(Date date, String trainCode);

}